package fun.codefarmer.pm.mapper;

import fun.codefarmer.pm.model.HrRole;

import java.util.List;

/**
 * 
 * @ Descriotion TODO
 * @ author  codeFarmer_z
 * @ 公众号：码农教程
 * @ Date 2022/3/26 21:47
 **/
public interface HrRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrRole record);

    int insertSelective(HrRole record);

    HrRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrRole record);

    int updateByPrimaryKey(HrRole record);

    int deleteByHrId(Integer hrid);

    List<Integer> getRoleBhrId(Integer hrid);
}